"""
Test app models
"""
from google.appengine.ext import ndb

RATINGS = ['1', '2', '3', '4', '5']
CATEGORIES = ['food', 'service', 'decor', 'menu']

class Review(ndb.Model):
    reviewer = ndb.StringProperty()
    published = ndb.DateTimeProperty()
    rating = ndb.StringProperty(choices=RATINGS)
    category = ndb.StringProperty(choices=CATEGORIES)
